I write a cycle exact real-time emulator for a real CPU system in C++ in about 250 lines of code and explain things along the way as good as I can. I am sure there are bugs or improvements to find. Please let me know if you have any suggestions. GitHub repository: https://github.com/slu4coder/Minimal-UART-Emulator